package net.lab1024.sa.base.module.support.rule.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 规则主表 列表VO
 *
 * @Author chenyuqiang
 * @Date 2025-08-21 22:46:37
 * @Copyright 1
 */

@Data
public class CepVO {


    @Schema(description = "规则ID")
    private Long id;

    @Schema(description = "规则名称")
    private String ruleName;

    @Schema(description = "规则编码")
    private String ruleCode;

    @Schema(description = "规则描述")
    private String ruleDescription;

    @Schema(description = "规则类型")
    private String ruleType;

    @Schema(description = "规则优先级，数字越大优先级越高")
    private Integer priority;

    @Schema(description = "规则状态：ACTIVE 激活，INACTIVE 停用")
    private String status;

    @Schema(description = "规则版本 必须指定版本 规则发生变化 版本号要跟随")
    private String version;

    @Schema(description = "创建时间")
    private String createdTime;

    @Schema(description = "更新时间")
    private String updatedTime;

    @Schema(description = "创建人")
    private String createdBy;

    @Schema(description = "更新人")
    private String updatedBy;

    @Schema(description = "负责规则语句")
    private String epl;

    @Schema(description = "默认秒")
    private BigDecimal windowSize;

    @Schema(description = "默认秒")
    private String windowSlide;

    @Schema(description = "分组字段")
    private String groups;

    @Schema(description = "0 正常 1 白名单")
    private Integer white;

    @Schema(description = "0 正常 1 异常推送")
    private Integer errorStatus;

    @Schema(description = "0 正常 1 异常推送")
    private Integer logStatus;

}
